package com.jinke.api.modules.base.service;

import com.jinke.api.modules.ums.vo.UserChannelVO;

import java.math.BigDecimal;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author macro
 * @since 2024-01-13
 */
public interface ThirdService{
     /**
      * 计算加成后的运费
      * @param userId
      * @param userChannelVO
      * @param rate
      * @return
      */
     BigDecimal calcRate(Integer userId, UserChannelVO userChannelVO, BigDecimal rate);
     /**
      * 计算加成后的保费
      * @param userId
      * @param userChannelVO
      * @param rate
      * @return
      */
     BigDecimal calcInsurance( BigDecimal rate);
}
